package com.ai.enviro.utils;

import java.util.Calendar;
import java.util.Date;

public class DateUtils {

    public static Date addYear(Date date, int year) {
        Calendar calendar = Calendar.getInstance();
        calendar.setTime(date);
        calendar.add(Calendar.YEAR, year);
        return calendar.getTime();
    }
}
